package top.mataiji.manager.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.mataiji.manager.pojo.Sold_book;
import top.mataiji.manager.pojo.Sold_bookExample;

import java.util.List;

@Mapper
public interface Sold_bookMapper {
    long countByExample(Sold_bookExample example);

    int deleteByExample(Sold_bookExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Sold_book record);

    int insertSelective(Sold_book record);

    List<Sold_book> selectByExample(Sold_bookExample example);

    Sold_book selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Sold_book record, @Param("example") Sold_bookExample example);

    int updateByExample(@Param("record") Sold_book record, @Param("example") Sold_bookExample example);

    int updateByPrimaryKeySelective(Sold_book record);

    int updateByPrimaryKey(Sold_book record);
}
